package com.gxaedu.rbac.pojo;


import java.util.List;

public class Role {

  private Long roleId;
  private String roleName;
  private String roleDesc;
  private Long isSuper;


  /**
   * 这个角色对应到的权限
   */
  private List<Auth> auths;

  public Role() {
  }

  public List<Auth> getAuths() {
    return auths;
  }

  public void setAuths(List<Auth> auths) {
    this.auths = auths;
  }

  public Long getRoleId() {
    return roleId;
  }

  public void setRoleId(Long roleId) {
    this.roleId = roleId;
  }


  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }


  public String getRoleDesc() {
    return roleDesc;
  }

  public void setRoleDesc(String roleDesc) {
    this.roleDesc = roleDesc;
  }


  public Long getIsSuper() {
    return isSuper;
  }

  public void setIsSuper(Long isSuper) {
    this.isSuper = isSuper;
  }


  @Override
  public String toString() {
    return "Role{" +
            "roleId=" + roleId +
            ", roleName='" + roleName + '\'' +
            ", roleDesc='" + roleDesc + '\'' +
            ", isSuper=" + isSuper +
            ", auths=" + auths +
            '}';
  }
}
